export const successReturn = <T>(data: T) => ({
  status: true,
  code: 0,
  data: data,
  message: 'success'
})

export const errorReturn = (code: number, message: string) => ({
  status: false,
  code,
  message
})
